package com.mango.iot.gateway.coap.common;

/**
 * <pre>
 * mqtt默认topic
 * </pre>
 *
 * @Author a123
 **/
public interface CoapResourceConst {
    /**
     * BaseCoap用
     */
    int COAP2_OPTION_TOKEN = 2088;


    /**
     * 授权Resource前缀
     */
    String AUTH = "auth";

    /**
     * redis过期时间
     */
    int AUTH_TOKEN_EXPIRE_TIME = 24 * 60 * 60;

    /**
     * topic命名
     */
    String TOPIC = "topic";

    /**
     * 上报事件topic
     */
    String EVENT_TOPIC = "/+/+/thing/event/+/post";

    /**
     * config
     */
    String CONFIG = "config";

}
